#include <wiringPi.h>
#include <stdio.h>

#define R 23

int main()
{
	if(wiringPiSetup()<0)
	{
		printf("pin initlize failed\n");
	}
	
	pinMode(R,OUTPUT);
	
	printf("press any key turn on Led Red\n");
	getchar();
	digitalWrite(R,HIGH);
	
	printf("press any key turn off Led Red\n");
	getchar();
	digitalWrite(R,LOW);
	
	return 0;
}
